.admin-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 24px;
  background: #f0f2f5;
}

.torrent-management {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.header h2 {
  margin: 0;
  color: #333;
  font-size: 20px;
}

/* 面包屑导航样式 */
.breadcrumb {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb .ant-breadcrumb-link {
  cursor: pointer;
  color: #666;
}

.breadcrumb .ant-breadcrumb-link:hover {
  color: #ff6699;
}

.breadcrumb .active {
  color: #ff6699;
  font-weight: 500;
}

/* 搜索表单样式 */
.search-form {
  padding: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.search-form .ant-input-search {
  width: 240px;
}

.search-form .ant-select {
  min-width: 160px;
}

/* 表格样式 */
.ant-table-wrapper {
  padding: 0 24px 24px;
}

.ant-table-thead > tr > th {
  background: #fafafa !important;
  font-weight: 500;
}

.ant-table-tbody > tr:hover > td {
  background: #fff5f7 !important;
}

/* 标签样式 */
.ant-tag {
  border-radius: 4px;
  padding: 2px 8px;
}

/* 操作按钮样式 */
.ant-space {
  gap: 8px !important;
}

.ant-btn-link {
  padding: 4px 8px;
}

.ant-btn-link:hover {
  color: #ff6699 !important;
  background: rgba(255, 102, 153, 0.1);
}

.ant-btn-link.ant-btn-dangerous:hover {
  color: #ff4d4f !important;
  background: rgba(255, 77, 79, 0.1);
}

/* 加载状态样式 */
.ant-spin-nested-loading {
  width: 100%;
}

/* 分页样式 */
.ant-pagination {
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
  }
  
  .search-form .ant-input-search,
  .search-form .ant-select {
    width: 100%;
  }
}